package com.ostrich.module_community.recommend

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_community.CommunityRepository
import com.ostrich.module_community.attention.entity.AttentionEntity
import com.ostrich.module_community.recommend.entity.ReCommendEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/31 15:16
 * @Description : RecommendViewModel 推荐
 */
class RecommendViewModel:BaseViewModel(){
    private val communityRepository:CommunityRepository by lazy { CommunityRepository() }
    //推荐
    fun recommend():LiveData<BaseResponse<MutableList<ReCommendEntity>>>{
        return communityRepository.recommend()
    }

}